package com.dayu.sale.domain;

import java.math.BigDecimal;

import lombok.Data;
import lombok.EqualsAndHashCode;
import com.dayu.common.annotation.Excel;
import com.dayu.common.core.domain.BaseEntity;

/**
 * 版本3 --- 出售配件对象 dy_sale_parts
 *
 * @author HK
 * @date 2024-01-10
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class DySaleParts extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 账单id */
    @Excel(name = "账单id")
    private Long billId;

    /** 配件id */
    @Excel(name = "配件id")
    private Long partsId;

    /** 配件名称 */
    @Excel(name = "配件名称")
    private String partsName;

    /** 配件单价 */
    @Excel(name = "配件单价")
    private BigDecimal partsPrice;

    /** 配件数量 */
    @Excel(name = "配件数量")
    private Integer partsNumber;

    /** 总金额 */
    @Excel(name = "总金额")
    private BigDecimal price;

    private String goodsId;
}
